package ys.ewp.junit;

import java.util.List;

import org.junit.Test;

import ys.ewp.dto.EmployeeDto;
import ys.ewp.dto.UserFieldDto;
import ys.ewp.po.Employee;

public class EmployeeDtoTest extends BaseJunit {
	
	@Test
	public void getEmployeeDto(){
//		Employee emp = employeeService.get(1);
//		EmployeeDto empDto = EmployeeDto.getEmployeeDtoByPo(emp, userFieldService);
//		System.out.println(empDto.toString());
//		System.out.println(empDto.getUsername());
//		List<UserFieldDto> ufd = empDto.getUserFieldDtoList();
//		System.out.println(ufd.size());
//		System.out.println(ufd.get(0).getLabel());
//		System.out.println(ufd.get(0).getValue());
	}
	
}
